package cn.stylefeng.guns.sys.modular.vote.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

/**
 * <p>
 * 公示表
 * </p>
 *
 * @author WangZhen
 * @since 2021-02-04
 */
@TableName("wxjj_main_info")
public class VoteInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 0正常 1删除
     */
    @TableField("is_del")
    private Integer isDel;

    /**
     * 小区id
     */
    @TableField("rel_xq_id")
    private String relXqId;

    /**
     * 维修项目
     */
    @TableField("wx_xm")
    private String wxXm;

    /**
     * 特殊维修项目
     */
    @TableField("tswx_xm")
    private String tswxXm;

    /**
     * 施工方案
     */
    @TableField("sgfa")
    private String sgfa;

    /**
     * 工程预算
     */
    @TableField("gcys")
    private String gcys;

    /**
     * 分摊率
     */
    @TableField("ftl")
    private String ftl;

    /**
     * 公示天数
     */
    @TableField("show_day")
    private Integer showDay;

    /**
     * 开始公示时间
     */
    @TableField("start_date")
    private Date startDate;

    /**
     * 1创建 2发起公示 3开始投票 4公示投票结果 999手动关闭（保留）
     */
    @TableField("state")
    private String state;

    /**
     * 创建人
     */
    @TableField("create_person")
    private String createPerson;

    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;

    /**
     * 修改人
     */
    @TableField("update_person")
    private String updatePerson;

    /**
     * 修改时间
     */
    @TableField("update_date")
    private Date updateDate;

    /**
     * 项目图片长度
     */
    @TableField("file_length")
    private Integer fileLength;

    /**
     * 决议图片长度
     */
    @TableField("file_list_jytp_length")
    private Integer fileListJytpLength;

    /**
     * 投票期限
     */
    @TableField("vote_day_length")
    private Integer voteDayLength;

    /**
     * 投票开始时间
     */
    @TableField("vote_start_date")
    private Date voteStartDate;

    /**
     * 0业委会未上传相关资料 1已上传
     */
    @TableField("is_ywh_upload")
    private String isYwhUpload;

    /**
     * 决议说明
     */
    @TableField("jy_content")
    private String jyContent;

    /**
     * 决议公示天数
     */
    @TableField("jy_gs_day_length")
    private Integer jyGsDayLength;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getRelXqId() {
        return relXqId;
    }

    public void setRelXqId(String relXqId) {
        this.relXqId = relXqId;
    }

    public String getWxXm() {
        return wxXm;
    }

    public void setWxXm(String wxXm) {
        this.wxXm = wxXm;
    }

    public String getTswxXm() {
        return tswxXm;
    }

    public void setTswxXm(String tswxXm) {
        this.tswxXm = tswxXm;
    }

    public String getSgfa() {
        return sgfa;
    }

    public void setSgfa(String sgfa) {
        this.sgfa = sgfa;
    }

    public String getGcys() {
        return gcys;
    }

    public void setGcys(String gcys) {
        this.gcys = gcys;
    }

    public String getFtl() {
        return ftl;
    }

    public void setFtl(String ftl) {
        this.ftl = ftl;
    }

    public Integer getShowDay() {
        return showDay;
    }

    public void setShowDay(Integer showDay) {
        this.showDay = showDay;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCreatePerson() {
        return createPerson;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUpdatePerson() {
        return updatePerson;
    }

    public void setUpdatePerson(String updatePerson) {
        this.updatePerson = updatePerson;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Integer getFileLength() {
        return fileLength;
    }

    public void setFileLength(Integer fileLength) {
        this.fileLength = fileLength;
    }

    public Integer getFileListJytpLength() {
        return fileListJytpLength;
    }

    public void setFileListJytpLength(Integer fileListJytpLength) {
        this.fileListJytpLength = fileListJytpLength;
    }

    public Integer getVoteDayLength() {
        return voteDayLength;
    }

    public void setVoteDayLength(Integer voteDayLength) {
        this.voteDayLength = voteDayLength;
    }

    public Date getVoteStartDate() {
        return voteStartDate;
    }

    public void setVoteStartDate(Date voteStartDate) {
        this.voteStartDate = voteStartDate;
    }

    public String getIsYwhUpload() {
        return isYwhUpload;
    }

    public void setIsYwhUpload(String isYwhUpload) {
        this.isYwhUpload = isYwhUpload;
    }

    public String getJyContent() {
        return jyContent;
    }

    public void setJyContent(String jyContent) {
        this.jyContent = jyContent;
    }

    public Integer getJyGsDayLength() {
        return jyGsDayLength;
    }

    public void setJyGsDayLength(Integer jyGsDayLength) {
        this.jyGsDayLength = jyGsDayLength;
    }

    @Override
    public String toString() {
        return "VoteInfo{" +
                "id=" + id +
                ", isDel=" + isDel +
                ", relXqId=" + relXqId +
                ", wxXm=" + wxXm +
                ", tswxXm=" + tswxXm +
                ", sgfa=" + sgfa +
                ", gcys=" + gcys +
                ", ftl=" + ftl +
                ", showDay=" + showDay +
                ", startDate=" + startDate +
                ", state=" + state +
                ", createPerson=" + createPerson +
                ", createDate=" + createDate +
                ", updatePerson=" + updatePerson +
                ", updateDate=" + updateDate +
                ", fileLength=" + fileLength +
                ", fileListJytpLength=" + fileListJytpLength +
                ", voteDayLength=" + voteDayLength +
                ", voteStartDate=" + voteStartDate +
                ", isYwhUpload=" + isYwhUpload +
                ", jyContent=" + jyContent +
                ", jyGsDayLength=" + jyGsDayLength +
                "}";
    }
}
